package com.hxy.hmapi.client;


import com.hxy.hmapi.dto.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "trade-service")
public interface OrderClient {
    @PostMapping("/orders/update")
    public void updateOrder(@RequestBody Order order);
}
